# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class SingaporespiderItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass


class MyFileItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    file_urls = scrapy.Field()
    files = scrapy.Field()

    # 国家
    country = scrapy.Field()
    # 站点
    website = scrapy.Field()
    # 模块
    modular = scrapy.Field()
    # 法律标题
    title = scrapy.Field()
    # 文件类型
    ext = scrapy.Field()
    # 下载文件名
    fina = scrapy.Field()
    # 章节名
    chapNo = scrapy.Field()
    # 详细网址
    detailUrl = scrapy.Field()
    # 下载地址
    downloadUrl = scrapy.Field()
    # 需要将原文html内容转为pdf
    htmls = scrapy.Field()
    # 需要从原文html内容的网址下载为pdf
    htmlUrl = scrapy.Field()
    # 需要将摘要html内容转为pdf
    abstract = scrapy.Field()
    # 需要从摘要html内容的网址下载为pdf
    abstractUrl = scrapy.Field()

    # 网站分类
    Website = scrapy.Field()
    # 法律名称
    LegalName = scrapy.Field()
    # 发文机构
    Organizaation = scrapy.Field()
    # 发文日期
    PublishDate = scrapy.Field()
    # 生效日期
    EffectiveDate = scrapy.Field()
    # 国别
    SortA = scrapy.Field()
    # 语言
    SortB = scrapy.Field()
    # 国家法律体系分类
    SortC = scrapy.Field()
    # 总法律体系分类
    SortD = scrapy.Field()
    # 效力级别
    SORTE = scrapy.Field()
    # 内容分类
    SORTF = scrapy.Field()
    # 原文关键词
    Keyword = scrapy.Field()
    # 立法机构
    SORTG = scrapy.Field()
    # 法律法规编号
    ChapNo = scrapy.Field()
    # 编
    Articles = scrapy.Field()
    # 章
    Chapter = scrapy.Field()
    # 节
    Section = scrapy.Field()
    # 下载文件名
    SYS_FLD_DIGITFILENAME = scrapy.Field()
    # 原文存储路径
    FileUrl = scrapy.Field()
    # 原文链接
    DownLoadUrl = scrapy.Field()
    # 原文网址中文名称
    DownLoadWebNameC = scrapy.Field()
    # 原文网址英文名称
    DownLoadWebNameE = scrapy.Field()
    # 唯一ID
    SYSID = scrapy.Field()
    # pdf文件是否为网页转换而来
    Isconversion = scrapy.Field()
    # 修订标志
    Revisionmark = scrapy.Field()



